package com.fivefu.core.skyeye.event.services;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fivefu.core.skyeye.event.entity.DbAiEventFailed;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 事件错误日志表 服务类
 * </p>
 *
 * @author 
 * @since 2022-08-24 17:25:24
 */
public interface DbAiEventFailedService extends IService<DbAiEventFailed> {

    /**
     * 新增事件错误日志
     * @param failed
     */
    void insertEventFailed(DbAiEventFailed failed);

    Page<Map<String, Object>> queryAiEventFailedList(Integer page, Integer limit, String cameraid, String sceneid);
}
